<?php
/* vim: set ts=4 sw=4: */
/*
* @package
* @filename	   AllTests.php
* @author	   Garfield <garfield0601@gmail.com>
* @copyright 	
* @version 
* @since  	   2008-5-26 18:00:12
* 
*/
if (!defined('PHPUnit_MAIN_METHOD')) 
{    
	define('PHPUnit_MAIN_METHOD', 'AllTests::main');
} 
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php'; 
require_once 'SmartPHP/AllTests.php';

// 
class AllTests
{    
	public static function main()    
	{        
		PHPUnit_TextUI_TestRunner::run(self::suite());    
	}     
	public static function suite()    
	{
		$suite = new PHPUnit_Framework_TestSuite("Tests");         
		$suite->addTest(SmartPHP_AllTests::suite());        
		return $suite;    
	}
} 

if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
	AllTests::main();
}
?>
